<extend name="Public/base"/>

<block name="body">
    <div class="main-title">
        <h2>生成教师账号</h2>
    </div>
    <form action="{:U('doGen')}" method="post" class="form-horizontal">
        <div class="form-item">
            <label class="item-label">所属学校</label>
            <div class="controls">
               <select name="school_id">
               	<option value="0">请选择</option>
               	<volist name="schoolList" id="vo">
                    <option value="{$vo.id}">{$vo.title}</option>
                </volist>
               </select>
               </label>                    
            </div>   
        </div>
        <div class="form-item">
            <label class="item-label">用户名<span class="check-tips">（一行一个，密码由系统自动生成）</span></label>
            <div class="controls">
               <label class="textarea input-large">
               	<textarea name="usernames" style="height:250px;"></textarea>
               </label>                    
            </div>   
        </div>
        <div class="form-item">
            <button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">确 定</button>
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
    </form>
</block>

<block name="script">
    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U('Teacher/index')}');
    </script>
</block>
